home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_1.3 / Include-Strip1.3 / include.h / exec / interrupts.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-07-15  |  475 b   |  27 lines

  1. #ifndef    EXEC_INTERRUPTS_H
  2. #define    EXEC_INTERRUPTS_H
  3. #ifndef    EXEC_NODES_H
  4. #include    "exec/nodes.h"
  5. #endif    !EXEC_NODES_H
  6. #ifndef    EXEC_LISTS_H
  7. #include    "exec/lists.h"
  8. #endif    !EXEC_LISTS_H
  9. struct    Interrupt    {
  10. struct    Node    is_Node;
  11. APTR    is_Data;
  12. VOID    (*is_Code)();
  13. };
  14. struct    IntVector    {
  15. APTR    iv_Data;
  16. VOID    (*iv_Code)();
  17. struct    Node    *iv_Node;
  18. };
  19. struct    SoftIntList    {
  20. struct    List    sh_List;
  21. UWORD    sh_Pad;
  22. };
  23. #define    SIH_PRIMASK    (0xf0)
  24. #define    INTB_NMI    15
  25. #define    INTF_NMI    (1<<15)
  26. #endif
  27.